import LoginView from "../views/Login";
import Home from "../views/Home";
import Edit from '../views/Edit';
import CustomerBasicInformation from '../views/CustomerBasicInformation';
import PermissionsInformation from '../views/PermissionsInformation';
import TransactionInformationInquiry from '../views/TransactionInformationInquiry';
import InformationMaintenance from '../views/InformationMaintenance';

const baseRoutes = [
  {
    path: "/",
    element: <LoginView></LoginView>
  },
  {
    path: "/dashboard",
    element: <Home />
  },
  {
    path: "/edit",
    element: <Edit />
  },
  {
    path: "/customer",
    element: <CustomerBasicInformation />
  },
  {
    path: '/permissions',
    element: <PermissionsInformation />
  },
  {
    path: '/transaction',
    element: <TransactionInformationInquiry />
  },
  {
    path: '/information',
    element: <InformationMaintenance />
  }
]
//导出路由
export default baseRoutes